// routes/index.ts
import express from 'express';
import busRoutes from './mudule/BusRouter';
import flightRoutes from './mudule/FlightRouter';
import hotelRouter from "./mudule/HotelRouter";
import customerRoutes from './mudule/CustomerRouter';
import reservationRoutes from './mudule/ReservationRouter';
import travelRouteRouter from "./mudule/TravelRouteRouter";

const router = express.Router();

// 注册路由
router.use('/buses', busRoutes);
router.use('/flights', flightRoutes);
router.use('/hotels', hotelRouter);
router.use('/customers', customerRoutes);
router.use('/reservations', reservationRoutes);
router.use('/route',travelRouteRouter);

export default router;